package com.giraffe.device.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.giraffe.common.jpa.web.domain.IdFlagOpEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 设备终端表
 * @Author ldx
 * @Date 2023/02/06 10:32
 **/
@Data
@Entity
@TableName("pms_device")
@Table(name = "pms_device")
@org.hibernate.annotations.Table(appliesTo = "pms_device", comment = "设备终端表")
public class Device extends IdFlagOpEntity {

  @Column(name = "device_id" , length = 20, columnDefinition = "varchar(128) COMMENT '设备ID'")
  private String deviceId;

  @Column(name = "device_name" , length = 20, columnDefinition = "varchar(128) COMMENT '设备名称'")
  private String deviceName;

  @Column(name = "device_user_name" , length = 20, columnDefinition = "varchar(128) COMMENT '设备用户名'")
  private String deviceUserName;

  @Column(name = "device_pass_word" , length = 20, columnDefinition = "varchar(128) COMMENT '设备密码'")
  private String devicePassWord;

  @Column(name = "device_type" , length = 20, columnDefinition = "varchar(20) COMMENT '设备类型'")
  private String deviceType;

  @Column(name = "device_status" , length = 20, columnDefinition = "varchar(10) COMMENT '设备状态'")
  private String deviceStatus;


}
